// import Vue from 'vue';
// import VueRouter from 'vue-router';
import { createMemoryHistory, createRouter ,createWebHashHistory} from 'vue-router'


// 导入你的页面组件
import Remove from './Remove.vue'
import Home from './Home.vue';
import App from './App.vue';
import Payment from '././components/html2vue.vue'
const routes = [
    { path: '/', component: Home },
    { path: '/remove', component: Remove },
    { path: '/payment', component: Payment },
];

const router = createRouter({
    history: createWebHashHistory(), // 使用 createWebHashHistory 创建路由实例
    routes
  });

export default router;

